/**
 * Created by 2019/3/12/012
 * Author: Admin
 */
import React, {Component} from 'react';
import Button from '@material-ui/core/Button';

export default class button extends Component {
    constructor(props) {
        super(props);
        this.state = {};
    }

    render() {
        return (
            <Button
                type="submit"
                fullWidth
                variant="contained"
                color="primary"
                className={this.props.submit}
                onClick={() => this.props.history.push('/Home')}
            >
                Sign in
            </Button>
        )
    }
}
